package com.lucy.property.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;

/**
 * @author kindear
 */
@Data
@ApiModel(value = "楼栋创建参数")
public class BuildingCreateParams {
    @NotBlank(message = "单元ID不可为空")
    @ApiModelProperty(value = "单元ID")
    String unitId;


    @NotBlank(message = "楼栋编码不可为空")
    @ApiModelProperty("楼栋编码")
    String buildingCode;

    @NotBlank(message = "楼栋名称不可为空")
    @ApiModelProperty("楼栋名称")
    String buildingName;
}
